package com.tieba.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private Integer id;                 //主键id
    private Integer userId;             //用户id
    private String message;             //留言的内容
    private Integer likes;              //点赞数
    private Integer comments;           //评论数
    private Integer collections;        //收藏数
    private Integer commentedId;        //评论的是哪一条留言
    private LocalDateTime createTime;   //留言时间
}
